package com.hncc.bms.domain;

import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 结算类别对象 bms_settlement_cat
 * 
 * @author ruoyi
 * @date 2020-08-13
 */
@ApiModel(value = "结算类别实体")
public class BmsSettlementCat extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    @ApiModelProperty(value = "编号",required = false)
    private Long id;

    /** 结算类别 */
    @ApiModelProperty(value = "结算类别",required = false)
    @Excel(name = "结算类别")
    private String name;

    /** 状态 */
    @ApiModelProperty(value = "状态",required = false)
    private Integer status;

    /** 代码 */
    @ApiModelProperty(value = "代码",required = false)
    @Excel(name = "代码")
    private String code;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("status", getStatus())
            .append("code", getCode())
            .toString();
    }
}
